package cn.xxliang.aiproject.api;

import cn.xxliang.aiproject.api.response.Response;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

/**
 * @author xxliang
 * @date 2025/7/5  18:01
 * @description
 */
public interface IRAGService {
    //查询知识库
    Response<List<String>> queryRagTagList();
    //上传知识库
    Response<String> uploadRag( String ragTag, MultipartFile file);

    //从Git上传项目到知识库
    Response<String> uploadRagFromGit(String ragTag, String gitUrl,String username ,String password);
}
